package com.silence.springboot.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Table;
import com.silence.springboot.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 权限表 实体类。
 *
 * @author mybatis-flex-helper automatic generation
 * @since 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@Table(value = "role")
@Schema(name = "权限表")
@EqualsAndHashCode(callSuper = false)
public class RoleEntity extends BaseEntity {

    /**
     * 角色名称
     */
    @Schema(description = "角色名称")
    @Column(value = "role_name")
    private String roleName;

    /**
     * 角色编码
     */
    @Schema(description = "角色编码")
    @Column(value = "role_code")
    private String roleCode;

    /**
     * 角色描述
     */
    @Schema(description = "角色描述")
    @Column(value = "role_desc")
    private String roleDesc;

}
